<?php
	session_start();
	error_reporting(E_ALL | E_STRICT);
	ini_set('display errors', 1);
	date_default_timezone_set('Europe/London');
	set_include_path('./lib'.PATH_SEPARATOR.'applications/models');	
	require_once "config.php";	
	require_once "header.php";
	require_once "loaderLang.php";
	include "./applications/default/components/loadMainContent.php";	
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?php include "./lib/headinit.php" ?>
<title><?php echo constant("TITLE_PRODUCT_PAGE")?></title>
</head>
<body>
<div id="daddy">
	<div id="header">
		<?php $activemenu="products";include "./lib/menuinit.php" ?>
	</div>
	<!-- header -->
	<div id="content">
		<div id="cA">
			<!-- menu doc --->
            <?php include "./applications/default/components/loadVerticalMenu.php";?>
			<!-- ket thuc menu doc --->            
		</div><!-- cA -->
		<div id="cB">
			<div class="Ctopright"></div>
			<div id="cB1">
			<br/>
			<table width="400" border="0" cellspacing="0">
				<tr>
					<td class="DLHeadRedL" width="17" height="34">&nbsp;
						
					</td>
					<td  class="DLHeadRed" height="34" valign="top">
						<?php 
							if(defined("P_".$typename))
								echo  constant("P_".$typename);
							else
								echo $typename;
						?>
					</td>
					<td class="DLHeadRedR" width="17" height="34">&nbsp;
						
					</td>
				</tr>
			</table>
			<br/>
            
            	
				<div class="DLTypeintro">
				<!--SlideShow -->
				<?php
					
				?> 
				<!--End SlideShow-->
					<?php  
						if(isset($itemType))
							echo '<font size="2">'.$itemType['description'].'</font>'; 
					?>
				</div>
                
			<div class="DLBodyLight" width="100%">
            
			<?php echo $maincontent;?>
			</div>
			<div style="background:#000">
			</div>
				<div id="fb-root">
				</div>
				<script src="http://connect.facebook.net/en_US/all.js#appId=<?php echo $website_appId; ?>&amp;xfbml=1">
				</script>
				<fb:comments numposts="10" width="669" publish_feed="true">
				</fb:comments>
            </div> <!-- end cB1-->
		</div><!-- cB -->
		<div class="Cpad">
			<br class="clear" /><div class="Cbottomleft"></div><div class="Cbottom"></div><div class="Cbottomright"></div>
		</div><!-- Cpad -->
	</div><!-- content -->
	<div id="properspace"></div><!-- properspace -->
</div><!-- daddy -->
<?php include "./lib/footer.php" ?>
</body>
</html>
